Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

chore: fix failing getBlockTime integration test#11825

Merged
jstarry merged 1 commit into
solana-labs:masterfrom
jstarry:fix-block-time
Aug 25, 2020
Merged

chore: fix failing getBlockTime integration test#11825
jstarry merged 1 commit into
solana-labs:masterfrom
jstarry:fix-block-time

Conversation

@jstarry
Copy link
Copy Markdown
Contributor

@jstarry jstarry commented Aug 25, 2020

Problem

Seems that #10630 caused a regression where the first block is no longer timestamped. This causes the getBlockTime integration test to fail because it asserts that the first block has a timestamp

Summary of Changes

  • Check block 2 instead of 1

Fixes #

@jstarry jstarry added automerge Merge this Pull Request automatically once CI passes and removed automerge Merge this Pull Request automatically once CI passes labels Aug 25, 2020
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 25, 2020

Codecov Report

Merging #11825 into master will decrease coverage by 12.2%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #11825      +/-   ##
==========================================
- Coverage    82.0%    69.8%   -12.3%     
==========================================
  Files         330       28     -302     
  Lines       77298     1378   -75920     
  Branches        0      172     +172     
==========================================
- Hits        63425      962   -62463     
+ Misses      13873      369   -13504     
- Partials        0       47      +47     

@jstarry jstarry merged commit 72fa1d2 into solana-labs:master Aug 25, 2020
@jstarry jstarry deleted the fix-block-time branch August 25, 2020 09:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant